<?php include('base.php')?>
<?php $this->template->startblock('main') ?>
<form action="<?php echo site_url();?>post/updateprofile" method="post">
<h2>个人资料</h2>
<table cellspacing="0" cellpadding="0" width="100%">
	<tr class="tr3">
		<td width="20%">用户名：</td>
		<td><?php echo $u_name?></td>
	</tr>
	<tr class="tr3">
		<td width="20%">选择角色：</td>
		<td>
			<?php echo $role_name?>
		</td>
	</tr>
	<tr class="tr3">
		<td width="20%">密码：(<font color=blue>如不更改请留空</font>)</td>
		<td><input type="password" class="input" size="32" value="" name="u_pass" /></td>
	</tr>
	<tr class="tr3">
		<td width="20%">确认密码：(<font color=blue>修改密码时需要输入</font>)</td>
		<td><input type="password" class="input" size="32" name="u_pass2" value=""/></td>
	</tr>
	<tr class="tr3">
		<td width="20%">邮箱：</td>
		<td><input type="text" class="input" size="30" name="email" value="<?php echo $email?>"/></td>
	</tr>
</table>
<br />
<center><input type="submit" value="提 交" class="btn" /> <input type="reset" value="重 置" class="btn" /></center><br/>
</form>
<?php $this->template->endblock() ?>